//package com.shop.loan.controller;
//
//import com.shop.loan.model.common.ResResult;
//import com.shop.loan.service.MsgService;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import xyz.erupt.core.annotation.EruptRouter;
//import xyz.erupt.core.constant.EruptRestPath;
//
//import javax.annotation.Resource;
//
//@RestController
//@RequestMapping(EruptRestPath.ERUPT_API + "/msg")
//public class MsgController {
//
//    @Resource
//    MsgService msgService;
//
//    @EruptRouter(
//            verifyType = EruptRouter.VerifyType.LOGIN
//    )
//    @PostMapping("/hasNew")
//    public ResResult hasNew() {
//        return msgService.hasNew();
//    }
//
//}
